﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">

<link href="/admin/static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="/admin/static/h-ui.admin/css/H-ui.login.css" rel="stylesheet" type="text/css" />
<link href="/admin/static/h-ui.admin/css/style.css" rel="stylesheet" type="text/css" />
<link href="/admin/lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css" />

<title>后台登录 - 好客租房 v3.1</title>
    <style>
        #imgcode{
            width: 100px;
            height: 45px;
        }
    </style>
</head>
<body>
<div class="loginWraper">
  <div id="loginform" class="loginBox">
      @include("admin.common.msg")

      <form class="form form-horizontal" action="{{ route("admin.login") }}" method="post">
        @csrf
      <div class="row cl">
        <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60d;</i></label>
        <div class="formControls col-xs-8">
          <input name="username" type="text" placeholder="账户" value="admin" class="input-text size-L">
        </div>
      </div>
      <div class="row cl">
        <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60e;</i></label>
        <div class="formControls col-xs-8">
          <input id="" name="password" type="password" value="123456" placeholder="密码" class="input-text size-L">
        </div>
      </div>
      <div class="row cl">
        <div class="formControls col-xs-8 col-xs-offset-3">
          <input class="input-text size-L" type="text" name="code" placeholder="验证码" style="width:150px;">
          <img id="imgcode" src="{{ captcha_src("mini") }}"> <a id="kanbuq"">看不清，换一张</a> </div>
      </div>
      <div class="row cl">
        <div class="formControls col-xs-8 col-xs-offset-3">
          <label for="online">
            <input type="checkbox" name="online" id="online" value="">
            使我保持登录状态</label>
        </div>
      </div>
      <div class="row cl">
        <div class="formControls col-xs-8 col-xs-offset-3">
          <input type="submit" class="btn btn-success radius size-L" value="　登　录　">
          <input type="reset" class="btn btn-default radius size-L" value="　取　消　">
        </div>
      </div>
    </form>
  </div>
</div>
<div class="footer">Copyright 好客租房 v3.1</div>
<script src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
<script src="/admin/static/h-ui/js/H-ui.min.js"></script>
<script>
    let imgsrc = $("#imgcode").attr("src");
    $("#kanbuq").click(function () {
        $("#imgcode").attr("src",imgsrc+"?vt="+Date.now());
    })
</script>
</body>
</html>
